home *** CD-ROM | disk | FTP | other *** search
- Path: news.luc.edu!user
- From: VArase@varase.it.luc.edu (Verne Arase)
- Newsgroups: comp.lang.c
- Subject: Re: string search?
- Date: Wed, 27 Mar 1996 23:21:21 +0000
- Organization: LUMC
- Message-ID: <AD7F7DF19668C935@mcdiala03.it.luc.edu>
- References: <4jbnfk$cuq@dfw-ixnews6.ix.netcom.com>
- NNTP-Posting-Host: 147.126.240.103
-
- In article <4jbnfk$cuq@dfw-ixnews6.ix.netcom.com>,
- rmor1@ix.netcom.com(Ricardo Mor ) wrote:
-
- > How can I search a string of character in another string? for
- >example...
- >
- >
- > string1 = "NEXT_TIME";
- > string2 = "TIME";
- >
- > how can I search for string1 in string2?
-
- strstr().
-
- Remember that this is a case sensitive search.
-
- ---
- The above are my own opinions, and not those of my employer.
-